﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 公告以及推送消息
    /// </summary>
    [ExLanguageKey("SysWechatTemplate")]
    public partial class SysWechatTemplateExPart
    {
        /// <summary>
        /// 
        /// </summary>
        [ExLanguageKey("SysWechatTemplateID")]
        [Key]
        public int? SysWechatTemplateID { get; set; }

        /// <summary>
        /// 系统类型;全部=0,系统后台端=10,微信客户端=20
        /// </summary>
        [ExLanguageKey("EnumRunProject")]
        public EnumRunProject? EnumRunProject { get; set; }

        /// <summary>
        /// 模版消息状态;未推送=0,推送中=5,推送成功=10,推送失败=-1
        /// </summary>
        [ExLanguageKey("EnumMsgState")]
        public EnumMsgState? EnumMsgState { get; set; }

        /// <summary>
        /// 来源类型; 未知=0,客户跟踪=10
        /// </summary>
        [ExLanguageKey("EnumWechatTemplateSourceType")]
        public EnumWechatTemplateSourceType? EnumWechatTemplateSourceType { get; set; }
    }
}
